package com.anbow.courseware.service;

import com.anbow.courseware.entity.DO.User;
import com.anbow.courseware.entity.DTO.UserDTO;

/**
 * @author zhaoYuFei
 */
public interface UserService {
    /**
     * 登录验证成功true 错误false
     *
     * @param user 登录人用户信息
     * @return 返回null则不存在
     */
    User login(UserDTO user);
}
